package vip.xiaonuo.biz.modular.rewardslog.service;

import vip.xiaonuo.biz.modular.appletuser.entity.AppletUser;
import vip.xiaonuo.biz.modular.hiddenreport.entity.HiddenReport;
import vip.xiaonuo.biz.modular.rewardslog.entity.RewardsLog;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.biz.modular.watchtask.entity.Task;

/**
 * 奖励记录(RewardsLog)表服务接口
 *
 * @author h
 * @since 2025-11-21 14:24:35
 */
public interface RewardsLogService extends IService<RewardsLog>{
    /**
     * 上报奖励
     * @param hiddenReport
     */
    void reportRewards(HiddenReport hiddenReport, AppletUser appletUser);

    /**
     * 盯防奖励
     * @param task
     */
    void taskRewards(Task task,AppletUser appletUser);

    /**
     *
     * @param rewardsCode
     * @return
     */
    RewardsLog getByCode(String rewardsCode);
}
